# $Id$
# Maintainer:
# Contributor: Sébastien Piccand <sebcactus gmail com>

pkgname=tclap
pkgver=1.2.1
pkgrel=3
pkgdesc="A small, flexible library that provides a simple interface for defining and accessing command line arguments"
arch=('any')
url="http://tclap.sourceforge.net/"
license=('MIT')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('eb0521d029bf3b1cc0dcaa7e42abf82a')

build() {
 cd "${srcdir}/${pkgname}-${pkgver}"
 ./configure --prefix=/usr
 make
}

package() {
 cd "${srcdir}/${pkgname}-${pkgver}"
 make DESTDIR="${pkgdir}" install
 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
